package cn.edu.neu.springbootdemo.mapper;

import cn.edu.neu.springbootdemo.model.MovieChart;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MovieChartMapper {

    List<MovieChart> showMovieChart();

    Boolean deleteChartMovie(int parseInt);

    void addChartMovie(MovieChart movieChart);


    List<MovieChart> getfindChartMovie(MovieChart movieChart);

    MovieChart findById(int show_id);

    void updataChartMovie(MovieChart movieChart);

    List<MovieChart> findfilm_id(int id);
}
